package com.qyhl.webtv.commonlib.entity.home;

import java.io.Serializable;
import java.util.List;

/**
 * Created by qyhl on 2017/11/24.]
 * 城事数据模型
 */

public class CityBean implements Serializable {
    public List<TopMenus> topMenus;
    public List<MenuItems> menuItems;

    public static class TopMenus implements Serializable {
        public int styleId;
        public int secondId;
        public int siteId;
        public int secondMenuType;
        public int typeId;
        public String menuImg;
        public String url;
        public String menuName;
        private int localImage;

        public int getLocalImage() {
            return localImage;
        }

        public void setLocalImage(int localImage) {
            this.localImage = localImage;
        }

        public TopMenus(int typeId, String menuName, int localImage) {
            this.typeId = typeId;
            this.menuName = menuName;
            this.localImage = localImage;
        }

        public int getStyleId() {
            return styleId;
        }

        public void setStyleId(int styleId) {
            this.styleId = styleId;
        }

        public int getSecondId() {
            return secondId;
        }

        public void setSecondId(int secondId) {
            this.secondId = secondId;
        }

        public int getSiteId() {
            return siteId;
        }

        public void setSiteId(int siteId) {
            this.siteId = siteId;
        }

        public int getSecondMenuType() {
            return secondMenuType;
        }

        public void setSecondMenuType(int secondMenuType) {
            this.secondMenuType = secondMenuType;
        }

        public int getTypeId() {
            return typeId;
        }

        public void setTypeId(int typeId) {
            this.typeId = typeId;
        }

        public String getMenuImg() {
            return menuImg;
        }

        public void setMenuImg(String menuImg) {
            this.menuImg = menuImg;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getMenuName() {
            return menuName;
        }

        public void setMenuName(String menuName) {
            this.menuName = menuName;
        }

        @Override
        public String toString() {
            return "TopMenus{" +
                    "styleId=" + styleId +
                    ", secondId=" + secondId +
                    ", siteId=" + siteId +
                    ", secondMenuType=" + secondMenuType +
                    ", typeId=" + typeId +
                    ", menuImg='" + menuImg + '\'' +
                    ", url='" + url + '\'' +
                    ", menuName='" + menuName + '\'' +
                    '}';
        }
    }

    public class MenuItems implements Serializable {
        public String groupName;
        public int groupId;
        public List<MenuItem> menuItems;

        public class MenuItem implements Serializable {
            public int groupId;
            public int itemSectionId;
            public int itemId;
            public String itemName;
            public String itemImg;
            public String itemOuturl;
            public int itemType;
            public int styleId;

            public int getStyleId() {
                return styleId;
            }

            public void setStyleId(int styleId) {
                this.styleId = styleId;
            }

            public int getItemType() {
                return itemType;
            }

            public void setItemType(int itemType) {
                this.itemType = itemType;
            }

            public int getGroupId() {
                return groupId;
            }

            public void setGroupId(int groupId) {
                this.groupId = groupId;
            }

            public int getItemSectionId() {
                return itemSectionId;
            }

            public void setItemSectionId(int itemSectionId) {
                this.itemSectionId = itemSectionId;
            }

            public int getItemId() {
                return itemId;
            }

            public void setItemId(int itemId) {
                this.itemId = itemId;
            }

            public String getItemName() {
                return itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public String getItemImg() {
                return itemImg;
            }

            public void setItemImg(String itemImg) {
                this.itemImg = itemImg;
            }

            public String getItemOuturl() {
                return itemOuturl;
            }

            public void setItemOuturl(String itemOuturl) {
                this.itemOuturl = itemOuturl;
            }

            @Override
            public String toString() {
                return "MenuItem{" +
                        "groupId=" + groupId +
                        ", itemSectionId=" + itemSectionId +
                        ", itemId=" + itemId +
                        ", itemName='" + itemName + '\'' +
                        ", itemImg='" + itemImg + '\'' +
                        ", itemOuturl='" + itemOuturl + '\'' +
                        '}';
            }
        }

        public String getGroupName() {
            return groupName;
        }

        public void setGroupName(String groupName) {
            this.groupName = groupName;
        }

        public int getGroupId() {
            return groupId;
        }

        public void setGroupId(int groupId) {
            this.groupId = groupId;
        }

        public List<MenuItem> getMenuItems() {
            return menuItems;
        }

        public void setMenuItems(List<MenuItem> menuItems) {
            this.menuItems = menuItems;
        }

        @Override
        public String toString() {
            return "MenuItems{" +
                    "groupName='" + groupName + '\'' +
                    ", groupId=" + groupId +
                    ", menuItems=" + menuItems +
                    '}';
        }
    }

    public List<TopMenus> getTopMenus() {
        return topMenus;
    }

    public void setTopMenus(List<TopMenus> topMenus) {
        this.topMenus = topMenus;
    }

    public List<MenuItems> getMenuItems() {
        return menuItems;
    }

    public void setMenuItems(List<MenuItems> menuItems) {
        this.menuItems = menuItems;
    }

    @Override
    public String toString() {
        return "CityBean{" +
                "topMenus=" + topMenus +
                ", menuItems=" + menuItems +
                '}';
    }
}
